package cn.ctbu.edu.redo1.dao;

import cn.ctbu.edu.redo1.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentRepository extends JpaRepository<Student, Integer> {
    List<Student> findByNameLike(String name);
    List<Student> findByNameAndSno(String name,String sno);

}
